cmake_minimum_required(VERSION 2.8)
Project(tracker)
set(OpenCV_DIR /home/cy/opencv4.2.0/build)
aux_source_directory(./ ROOT_SOURCE)
find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS}) # Not needed for CMake >= 2.8.11
link_directories(/usr/lib/x86_64-linux-gnu/gtk-3.0/modules)

add_executable(${PROJECT_NAME} ${ROOT_SOURCE})

target_link_libraries(${PROJECT_NAME} ${OpenCV_LIBS})
